package com.core.website.entity;

import cn.easyes.annotation.IndexField;
import cn.easyes.annotation.IndexId;
import lombok.Data;

import java.util.Date;

import static cn.easyes.common.enums.IdType.CUSTOMIZE;

@Data
public class CoreDutyRecordShiftChange {

    /** 主键 */
    @IndexId(type = CUSTOMIZE)
    @IndexField(value = "id")
    private String id;

    /** 调班日期 */
    @IndexField(value = "time")
    private String time;

    /** 原值班人员 */
    @IndexField(value = "originalDutyName")
    private String originalDutyName;

    /** 更换值班人员 */
    @IndexField(value = "changeDutyName")
    private String changeDutyName;

    /** 替班 */
    @IndexField(value = "tiban")
    private String tiban;

    /** 调班 */
    @IndexField(value = "tiaoban")
    private String tiaoban;

    /** 创建时间 */
    @IndexField(value = "createTime")
    private Date createTime;

    /** 新闻内容主键 */
    @IndexField(value = "contentId")
    private String contentId;

    @IndexField(value = "remark")
    private String remark;
}
